<?php
use admin\assets\AppAsset;
AppAsset::addJs($this,'/static/js/admin/menu.js');
?>

<style>
    .layui-table a {
         color: #fff;
    }
</style>

<div class="container">
    <div class="content-search">
        <form class="layui-form layui-form-pane" action="">
            <div class="layui-inline">
                <label class="layui-form-label">关键字搜索</label>
                <div class="layui-input-inline">
                    <input style="width:300px;" class="layui-input" placeholder="用户ID、管理员姓名" id="keyword">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">开始时间</label>
                <div class="layui-input-inline">
                    <input class="layui-input layui-date" placeholder="开始时间" id="start">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">截止时间</label>
                <div class="layui-input-inline">
                    <input class="layui-input layui-date" placeholder="结束时间" id="end">
                </div>
            </div>
            <div class="layui-inline" style="padding-right:10px;">
                <label class="layui-form-label">只显示菜单</label>
                <div class="layui-input-inline">
                    <input type="checkbox" id="switch" name="open" lay-filter="switch"  lay-skin="switch" lay-text="ON|OFF">
                </div>
            </div>
            <div class="layui-inline">
                <button class="layui-btn" type="button" data-type="reload">搜索</button>
            </div>
        </form>
    </div>

    <blockquote class="layui-elem-quote">
        <button class="layui-btn layui-btn-sm" type="button" data-type="menu_add">添加菜单</button>
    </blockquote>

    <table class="layui-hide" id="user" lay-filter="user"></table>
</div>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑菜单</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" style="color:#fff">删除菜单</a>
</script>